package com.yxhl.zoume.data.http.rest.param.base;

/**
 * 请求参数基类
 * <p>
 * Created by Xboy on 16/3/18.
 */
public class BaseRequestParam extends BasicRequestParam {
    // 手机号
    private String mobile;
    // 用户token
    private String token;

    public BaseRequestParam() {
    }

    public BaseRequestParam(String mobile, String token) {
        this.mobile = mobile;
        this.token = token;
    }

    public BaseRequestParam setMobile(String mobile) {
        this.mobile = mobile;
        return this;
    }

    public BaseRequestParam setToken(String token) {
        this.token = token;
        return this;
    }

    @Override
    public String toString() {
        return "BaseRequestParam{" +
                "mobile='" + mobile + '\'' +
                ", token='" + token + '\'' +
                '}';
    }
}
